[draft][VoiceLive] Add support for built-in web search and file search tools#46723
Open
[draft][VoiceLive] Add support for built-in web search and file search tools#46723
Conversation
added 2 commits
May 5, 2026 11:09
…w features - Web Search & File Search support (ResponseWebSearchCallItem, ResponseFileSearchCallItem) - Avatar enhancements (voice sync, idle/speaking states, video delta, output buffer) - Transcription improvements (TranscriptionPhrase, TranscriptionWord, new models) - New SessionIncludeOption enum - Personal voice model updates (DragonHDOmniLatestNeural, MAI-Voice-1) - Fix ServerEvent.deserialize -> _deserialize for new model_base - Update tests for new models, enums, and breaking changes - Consolidate CHANGELOG for 1.2.0 GA release
Member
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates azure-ai-voicelive for the 1.2.0 GA release aligned to API version 2026-04-10, adding new VoiceLive models/enums (web/file search, avatar enhancements, transcription, telemetry) and adjusting tests/samples accordingly.
Changes:
- Expanded the public model surface (new action/search models, new item/event types, new transcription/voice options) and updated exports/tests to match.
- Updated package metadata/documentation for the 1.2.0 release (CHANGELOG, API version metadata, ApiView mappings).
- Refactored/normalized telemetry + async client code paths and formatting in tests/samples.
Reviewed changes
Copilot reviewed 23 out of 24 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/voicelive/azure-ai-voicelive/tests/test_unit_voice_config.py | Updates unit tests to reflect new/removed personal voice model enums. |
| sdk/voicelive/azure-ai-voicelive/tests/test_unit_telemetry.py | Adds pylint suppression and formatting tweaks in telemetry unit tests. |
| sdk/voicelive/azure-ai-voicelive/tests/test_unit_smoke_validation.py | Extends import smoke test to include newly added enums/models. |
| sdk/voicelive/azure-ai-voicelive/tests/test_unit_models.py | Adds unit tests covering newly introduced action/search/transcription models. |
| sdk/voicelive/azure-ai-voicelive/tests/test_unit_enums.py | Adds assertions for newly added enum values and enums. |
| sdk/voicelive/azure-ai-voicelive/tests/test_live_realtime_service.py | Formatting-only changes in live async tests (no functional change indicated). |
| sdk/voicelive/azure-ai-voicelive/samples/basic_voice_assistant_async.py | Minor formatting/spacing tweaks in the sample. |
| sdk/voicelive/azure-ai-voicelive/pyproject.toml | Updates packaging metadata (dynamic version source, package discovery excludes, pytest config removal). |
| sdk/voicelive/azure-ai-voicelive/MANIFEST.in | Changes which py.typed marker is included in the sdist. |
| sdk/voicelive/azure-ai-voicelive/CHANGELOG.md | Promotes release section to 1.2.0 (Unreleased) and documents new features/breaking changes. |
| sdk/voicelive/azure-ai-voicelive/azure/py.typed | Adds a top-level azure/py.typed marker file. |
| sdk/voicelive/azure-ai-voicelive/azure/ai/voicelive/telemetry/_voicelive_instrumentor.py | Formatting-only changes (line wrapping) in telemetry implementation. |
| sdk/voicelive/azure-ai-voicelive/azure/ai/voicelive/models/_enums.py | Adds new enums/enum values (voice type, event/item types, include options) and updates voice model enum set. |
| sdk/voicelive/azure-ai-voicelive/azure/ai/voicelive/models/init.py | Re-exports newly added models/enums in the public models namespace. |
| sdk/voicelive/azure-ai-voicelive/azure/ai/voicelive/aio/_patch.py | Updates server event deserialization call path. |
| sdk/voicelive/azure-ai-voicelive/azure/ai/voicelive/_version.py | Bumps library version to 1.2.0. |
| sdk/voicelive/azure-ai-voicelive/azure/_version.py | Introduces a new top-level azure._version module (currently not aligned with 1.2.0). |
| sdk/voicelive/azure-ai-voicelive/azure/_utils/serialization.py | Adds generated serialization helper under azure._utils (appears duplicative). |
| sdk/voicelive/azure-ai-voicelive/azure/_utils/model_base.py | Adds generated model base helper under azure._utils (appears duplicative). |
| sdk/voicelive/azure-ai-voicelive/azure/_utils/init.py | Adds package init for the new azure._utils namespace. |
| sdk/voicelive/azure-ai-voicelive/azure/_types.py | Adds type aliases under top-level azure._types. |
| sdk/voicelive/azure-ai-voicelive/apiview-properties.json | Updates ApiView cross-language mappings for newly added types and enum entries. |
| sdk/voicelive/azure-ai-voicelive/_metadata.json | Updates default API version metadata to 2026-04-10. |
Comments suppressed due to low confidence (1)
sdk/voicelive/azure-ai-voicelive/azure/_version.py:10
azure/_version.pydefinesVERSION = "1.0.0b1", which does not match the package’s actual version (azure.ai.voicelive._version.VERSIONis 1.2.0) and the PR’s GA release intent. Ifazure._versionis used for packaging metadata, update it to the correct version; otherwise, remove it and avoid introducing a sharedazure._versionmodule into the globalazurenamespace.
VERSION = "1.0.0b1"
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR promotes azure-ai-voicelive to 1.2.0 GA, consolidating all features from 1.2.0b1–b5
and adding new capabilities for API version 2026-04-10.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines